home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000346_lars_news@larsshack.org_Sun Oct 26 16:03:27 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-11-18
|
2KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!feed3.news.rcn.net!not-for-mail
From: Lars Kellogg-Stedman <lars_news@larsshack.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problems with get /recursive
Date: 26 Oct 2003 14:31:24 GMT
Lines: 47
Message-ID: <slrnbpnmlo.b28.lars@news.oddbit.com>
References: <57f2d810.0310251901.3deaebbd@posting.google.com> <Pine.HPX.4.44.0310252035270.3239-100000@fog.ccsf.cc.ca.us>
Reply-To: lars_news@larsshack.org
X-Trace: UmFuZG9tSVYZ/Z1K1qJiyEl8b3FFLpn1OZe6nrPihktmI9QIsyzqZI5neLSOOJgx
X-Complaints-To: abuse@rcn.com
NNTP-Posting-Date: 26 Oct 2003 14:31:24 GMT
User-Agent: slrn/0.9.7.4 (Linux)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14599
That's interesting, because the 'send' command behaves differently. For
example, if I connect via 'kermit -C "ssh remotehost"', and then on the
remote system type:
kermit -C 'send /recursive directory'
I get the whole thing.
On the other hand, neither:
kermit -L -s directory
Nor:
kermit -L -s directory/*
Actually work. The second version (directory/*) will send the contents of
directory, but without recursing into subdirectories. Of course, 'kermit
-h' says:
-L Recursive directory descent for files in -s option
I suspect I may just be misunderstanding what that means, since one can
work around this by running:
kermit -L -s `find directory`
But this seems like it could easily bog down for a large directory
hierarchy.
-- Lars
> The get command requires a "filespec" which needs to specify a file
> or files, not a directory. What you want in this case is
>
> get /recursive directory/*
>
> or perhaps just
>
> get directory/*
>
> which does the same thing if directory contains only files and no
> sub directories.
--
Lars Kellogg-Stedman <lars_news@larsshack.org>